<?PHP
$link = mysql_connect("localhost","root","");
mysql_query ("set character_set_client='utf8'"); 
mysql_query ("set character_set_results='utf8'"); 
mysql_query ("set collation_connection='utf8_general_ci'"); 
mysql_select_db("gamedb");

$query = "SELECT * FROM tower WHERE User='$_POST[User]'";
$results = mysql_query($query)or die(mysql_error());

$dataDeso = "";
$dataRange = "";
$dataCoint = "";
$dataDouble = "";
$dataPercentSell = "";
$dataCollision = "";

while($line = mysql_fetch_assoc($results)) {
	 $dataDeso .=$line["Deso"]."\n";
	 $dataRange .=$line["Range"]."\n";
	 $dataCoint .=$line["Coint"]."\n";
	 $dataDouble .= $line["DoubleDamage"]."\n";
	 $dataPercentSell .= $line["PercentSell"]."\n";
	 $dataCollision .=$line["RangeColli"]."\n";



}

echo($dataDeso);
echo($dataRange);
echo($dataCoint);
echo($dataDouble);
echo($dataPercentSell);
echo($dataCollision);

mysql_close($link);

?>